
const Wechat = require('../wechat-lib/index');
const config = require('../config/config');

const wechatCfg = {
    wechat: {
        appID: config.wechat.appID,
        appSecret: config.wechat.appSecret,
        token: config.wechat.token,
    }
};


//声明一个自己会执行的 async function
(async function(){
    console.log('wechatCfg',wechatCfg)
    const client = new Wechat(wechatCfg.wechat);
})()










